/* GET home page. */
exports.index = function(req, res){
  res.render('index', {title: 'Express',layout:'layout'});
  /*res.render('index', {
    title: '我的博客',
    layout: 'layout'
  });*/
};

/* hello page */
exports.hello = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.user = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.post = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.reg = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.doReg = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.login = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.doLogin = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};

exports.logout = function (req, res) {
  res.send('The time is '+new Date().toLocaleDateString()+'是你发货if')
};